ENT.Type = "anim"
ENT.PrintName		= ""
ENT.Author			= ""
ENT.Contact			= ""
ENT.Purpose			= ""
ENT.Instructions	= ""

ENT.Spawnable		= false
ENT.AdminSpawnable	= false


THIS_IDENT = "sent_lightframe_"

BACKLIGHT_IDENT = THIS_IDENT .. "backLight_"
KEYLIGHT_IDENT = THIS_IDENT .. "keyLight_"
FILLLIGHT_IDENT = THIS_IDENT .. "fillLight_"

function ENT:StoreLightData(lightIdentifier, lightData)
	self:SetNWFloat(lightIdentifier .. ".Angle", lightData.Angle)
	self:SetNWVector(lightIdentifier .. ".Color", Vector(lightData.Color.r,lightData.Color.g,lightData.Color.b))
	self:SetNWFloat(lightIdentifier .. ".Radius", lightData.Radius)
	self:SetNWInt(lightIdentifier .. ".Brightness", lightData.Brightness)
	self:SetNWInt(lightIdentifier .. ".Size", lightData.Size)
	self:SetNWInt(lightIdentifier .. ".Index", lightData.Index)
end

function ENT:RetrieveLightData(lightIdentifier)

	local lightData = {}

	lightData.Angle = self:GetNWFloat(lightIdentifier .. ".Angle")
	local colorVector = self:GetNWVector(lightIdentifier .. ".Color")
	lightData.Color = Color(colorVector.x,colorVector.y,colorVector.z)
	lightData.Radius = self:GetNWFloat(lightIdentifier .. ".Radius")
	lightData.Brightness = self:GetNWInt(lightIdentifier .. ".Brightness")
	lightData.Size = self:GetNWInt(lightIdentifier .. ".Size")
	lightData.Index = self:GetNWInt(lightIdentifier .. ".Index")

	return lightData;

end

function ENT:SetBrightness( lightType, lightValue )
	//self:SetNetworkedVar( "Brightness", _in_ )
end

function ENT:SetAngle( lightType, lightValue )
	//self:SetNetworkedVar( "Brightness", _in_ )
end